package com.serializeQueue;

public abstract class AbstractSerializableTask implements SerializableTask {

    protected String id;

    protected Long createTime;

    public abstract void run();

    @Override
    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    @Override
    public Long getCreateTime() {
        return createTime;
    }

}
